<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>图片放大</title>
    <link rel="stylesheet" href="./css/ShowCommodity.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        #root {
            padding: 10px;
        }
    </style>
</head>
<body>
<div id="root">
    <div id="commodity" class="commodity">

        <!--
        <div id="commodity_img" class="commodity_img">
        <div id="show_box" class="show_box"></div>
        <img src="./images/m01.jpg" alt="">
        </div>
        <div id="commodity_list" class="commodity_list">
            <ul>
                <li><img src="./images/m01.jpg" alt=""></li>
                <li><img src="./images/m02.jpg" alt=""></li>
            </ul>
        </div>
        <div id="magnifyingLens" class="magnifyingLens">
            <img src="./images/m01.jpg" alt="">
        </div>
        -->


    </div>

</div>
<script type="module">
    import {ShowCommodity} from './js/ShowCommodity.js'

    new ShowCommodity({
        el: '#commodity',
        images: ['./images/m01.jpg', './images/m02.jpg'],
        width: '500px'
    })
</script>

</body>
</html>